﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CityEditControl.ascx.cs"
    Inherits="WebApplication.Controls.Management.Dictionaries.CityEditControl" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Label ID="lblCityName" runat="server" Text="Nazwa miasta:"></asp:Label>
<asp:TextBox ID="tbCityName" runat="server"></asp:TextBox><br />
<asp:Button ID="SelectProvinceButton" runat="server" Text="Wybierz województwo" OnClientClick="return false;" /><br />
<asp:Label ID="ProvinceIdLabel" runat="server" Text="Id województwa:"></asp:Label>
<asp:TextBox ID="ProvinceIdTextBox" runat="server" Enabled="false"></asp:TextBox><br />
<asp:Label ID="ProvinceNameLabel" runat="server" Text="Nazwa województwa:"></asp:Label>
<asp:TextBox ID="ProvinceNameTextBox" runat="server" Enabled="false"></asp:TextBox><br />
<asp:Button ID="btInsert" runat="server" Text="Dodaj" CommandName="PerformInsert" />
<asp:Button ID="btUpdate" runat="server" Text="Zapisz" CommandName="Update" />
<asp:Button ID="btCancel" runat="server" Text="Anuluj" CommandName="Cancel" />
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    <Windows>
        <telerik:RadWindow ID="RadWindow1" runat="server" Behavior="Default" InitialBehavior="None"
            Modal="True" NavigateUrl="~/Restricted/Modal/SelectProvincePage.aspx">
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>
